package com.haidechizi.fastadmin.common.utils;


import java.util.Objects;

public class ObjectUtils {

    public static boolean isEmpty(Object object) {
        if (object instanceof String) {
            return StringUtils.isBlank(object.toString());
        }
        if (Objects.isNull(object)) {
            return true;
        }
        return false;
    }

    public static boolean isNotEmpty(Object object) {
        return !isEmpty(object);
    }
}
